<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>运算符 | ccplus</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../c/array.html" />
    
    
    <link rel="prev" href="../c/DataType.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.3"
        data-chapter-title="运算符"
        data-filepath="c/operator.md"
        data-basepath=".."
        data-revision="Fri May 13 2016 17:02:07 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        目录
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="Android/index.html">
            
                
                    <a href="../Android/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        Android
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="Android/touchEvent.html">
            
                
                    <a href="../Android/touchEvent.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        触摸点击事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="Android/screenAdaptation.html">
            
                
                    <a href="../Android/screenAdaptation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        屏幕适配
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="Android/android4.0.html">
            
                
                    <a href="../Android/android4.0.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        4.0
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="c/index.html">
            
                
                    <a href="../c/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        c
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="c/Hello.html">
            
                
                    <a href="../c/Hello.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        Hello
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="c/DataType.html">
            
                
                    <a href="../c/DataType.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        数据类型
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.3" data-path="c/operator.html">
            
                
                    <a href="../c/operator.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        运算符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="c/array.html">
            
                
                    <a href="../c/array.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        数组
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="c/pointer.html">
            
                
                    <a href="../c/pointer.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        指针
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="c/variables.html">
            
                
                    <a href="../c/variables.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        变量
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="c/statement.html">
            
                
                    <a href="../c/statement.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        语句
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="c/file.html">
            
                
                    <a href="../c/file.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        文件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="c/structure.html">
            
                
                    <a href="../c/structure.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        结构体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="c/function.html">
            
                
                    <a href="../c/function.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        函数
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="c/multisource.html">
            
                
                    <a href="../c/multisource.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.11.</b>
                        
                        多个源文件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="c/gdb.html">
            
                
                    <a href="../c/gdb.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.12.</b>
                        
                        gdb调试
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="linux/index.html">
            
                
                    <a href="../linux/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        Linux
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="linux/command/index.html">
            
                
                    <a href="../linux/command/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        命令
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="c++/index.html">
            
                
                    <a href="../c++/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        C++
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1" data-path="c++/section1.html">
            
                
                    <a href="../c++/section1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.1.</b>
                        
                        第一节
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="c++/section2.html">
            
                
                    <a href="../c++/section2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.2.</b>
                        
                        第二节
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5" data-path="java/index.html">
            
                
                    <a href="../java/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        java
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1" data-path="java/jni-java.html">
            
                
                    <a href="../java/jni-java.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.1.</b>
                        
                        jni-java
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="java/jni-android.html">
            
                
                    <a href="../java/jni-android.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.2.</b>
                        
                        jni-android
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6" data-path="gitbook/index.html">
            
                
                    <a href="../gitbook/index.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.</b>
                        
                        gitbook
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1" data-path="gitbook/installation.html">
            
                
                    <a href="../gitbook/installation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.1.</b>
                        
                        安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="gitbook/commands.html">
            
                
                    <a href="../gitbook/commands.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.2.</b>
                        
                        命令
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="gitbook/syntax.html">
            
                
                    <a href="../gitbook/syntax.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.3.</b>
                        
                        语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="gitbook/settings.html">
            
                
                    <a href="../gitbook/settings.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.4.</b>
                        
                        配置
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.5" data-path="gitbook/plugins.html">
            
                
                    <a href="../gitbook/plugins.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.5.</b>
                        
                        插件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.6" data-path="gitbook/bookjson.html">
            
                
                    <a href="../gitbook/bookjson.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.6.</b>
                        
                        json
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >ccplus</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x8FD0;&#x7B97;&#x7B26;">&#x8FD0;&#x7B97;&#x7B26;</h1>
<h3 id="&#xFF43;&#x8BED;&#x8A00;&#x7684;&#x8FD0;&#x7B97;&#x7B26;&#x53EF;&#x5206;&#x4E3A;&#x4EE5;&#x4E0B;&#x51E0;&#x7C7B;&#xFF1A;">&#xFF23;&#x8BED;&#x8A00;&#x7684;&#x8FD0;&#x7B97;&#x7B26;&#x53EF;&#x5206;&#x4E3A;&#x4EE5;&#x4E0B;&#x51E0;&#x7C7B;&#xFF1A;</h3>
<ol>
<li>&#x7B97;&#x672F;&#x8FD0;&#x7B97;&#x7B26;<br>&#x7528;&#x4E8E;&#x5404;&#x7C7B;&#x6570;&#x503C;&#x8FD0;&#x7B97;&#x3002;&#x5305;&#x62EC;&#x52A0;(+)&#x3001;&#x51CF;(-)&#x3001;&#x4E58;(*)&#x3001;&#x9664;(/)&#x3001;&#x6C42;&#x4F59;(&#x6216;&#x79F0;&#x6A21;&#x8FD0;&#x7B97;&#xFF0C;%)&#x3001;&#x81EA;&#x589E;(++)&#x3001;&#x81EA;&#x51CF;(--)&#x5171;&#x4E03;&#x79CD;&#x3002;</li>
<li>&#x5173;&#x7CFB;&#x8FD0;&#x7B97;&#x7B26;<br>&#x7528;&#x4E8E;&#x6BD4;&#x8F83;&#x8FD0;&#x7B97;&#x3002;&#x5305;&#x62EC;&#x5927;&#x4E8E;(&gt;)&#x3001;&#x5C0F;&#x4E8E;(&lt;)&#x3001;&#x7B49;&#x4E8E;(==)&#x3001; &#x5927;&#x4E8E;&#x7B49;&#x4E8E;(&gt;=)&#x3001;&#x5C0F;&#x4E8E;&#x7B49;&#x4E8E;(&lt;=)&#x548C;&#x4E0D;&#x7B49;&#x4E8E;(!=)&#x516D;&#x79CD;&#x3002;</li>
<li>&#x903B;&#x8F91;&#x8FD0;&#x7B97;&#x7B26;<br>&#x7528;&#x4E8E;&#x903B;&#x8F91;&#x8FD0;&#x7B97;&#x3002;&#x5305;&#x62EC;&#x4E0E;(&amp;&amp;)&#x3001;&#x6216;(||)&#x3001;&#x975E;(!)&#x4E09;&#x79CD;&#x3002;</li>
<li>&#x4F4D;&#x64CD;&#x4F5C;&#x8FD0;&#x7B97;&#x7B26;<br>&#x53C2;&#x4E0E;&#x8FD0;&#x7B97;&#x7684;&#x91CF;&#xFF0C;&#x6309;&#x4E8C;&#x8FDB;&#x5236;&#x4F4D;&#x8FDB;&#x884C;&#x8FD0;&#x7B97;&#x3002;&#x5305;&#x62EC;&#x4F4D;&#x4E0E;(&amp;)&#x3001;&#x4F4D;&#x6216;(|)&#x3001;&#x4F4D;&#x975E;(~)&#x3001;&#x4F4D;&#x5F02;&#x6216;(^)&#x3001;&#x5DE6;&#x79FB;(&lt;&lt;)&#x3001;&#x53F3;&#x79FB;(&gt;&gt;)&#x516D;&#x79CD;&#x3002;</li>
<li>&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#x7B26;
&#x7528;&#x4E8E;&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#xFF0C;&#x5206;&#x4E3A;&#x7B80;&#x5355;&#x8D4B;&#x503C;(=)&#x3001;&#x590D;&#x5408;&#x7B97;&#x672F;&#x8D4B;&#x503C;(+=,-=,*=,/=,%=)&#x548C;&#x590D;&#x5408;&#x4F4D;&#x8FD0;&#x7B97;&#x8D4B;&#x503C;(&amp;=,|=,^=,&gt;&gt;=,&lt;&lt;=)&#x4E09;&#x7C7B;&#x5171;&#x5341;&#x4E00;&#x79CD;&#x3002;</li>
<li>&#x6761;&#x4EF6;&#x8FD0;&#x7B97;&#x7B26;
&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x4E09;&#x76EE;&#x8FD0;&#x7B97;&#x7B26;&#xFF0C;&#x7528;&#x4E8E;&#x6761;&#x4EF6;&#x6C42;&#x503C;(?:)&#x3002;<br>&#x8868;&#x8FBE;&#x5F0F;1 ? &#x8868;&#x8FBE;&#x5F0F;2 : &#x8868;&#x8FBE;&#x5F0F;3;<br>&#x5148;&#x5224;&#x65AD;&#x8868;&#x8FBE;&#x5F0F;1&#x7684;&#x503C;&#x662F;&#x5426;&#x4E3A;&#x771F;&#xFF0C;&#x5982;&#x679C;&#x662F;&#x771F;&#x7684;&#x8BDD;&#x6267;&#x884C;&#x8868;&#x8FBE;&#x5F0F;2&#xFF1B;&#x5982;&#x679C;&#x662F;&#x5047;&#x7684;&#x8BDD;&#x6267;&#x884C;&#x8868;&#x8FBE;&#x5F0F;3&#x3002;</li>
<li>&#x9017;&#x53F7;&#x8FD0;&#x7B97;&#x7B26;
&#x7528;&#x4E8E;&#x628A;&#x82E5;&#x5E72;&#x8868;&#x8FBE;&#x5F0F;&#x7EC4;&#x5408;&#x6210;&#x4E00;&#x4E2A;&#x8868;&#x8FBE;&#x5F0F;(&#xFF0C;)&#x3002;</li>
<li>&#x6307;&#x9488;&#x8FD0;&#x7B97;&#x7B26;
&#x7528;&#x4E8E;&#x53D6;&#x5185;&#x5BB9;(*)&#x548C;&#x53D6;&#x5730;&#x5740;(&amp;)&#x4E8C;&#x79CD;&#x8FD0;&#x7B97;&#x3002;</li>
<li>&#x6C42;&#x5B57;&#x8282;&#x6570;&#x8FD0;&#x7B97;&#x7B26;
&#x7528;&#x4E8E;&#x8BA1;&#x7B97;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x6240;&#x5360;&#x7684;&#x5B57;&#x8282;&#x6570;(sizeof)&#x3002;</li>
<li>&#x7279;&#x6B8A;&#x8FD0;&#x7B97;&#x7B26;
&#x6709;&#x62EC;&#x53F7;()&#xFF0C;&#x4E0B;&#x6807;[]&#xFF0C;&#x6210;&#x5458;(&#x2192;&#xFF0C;.)&#x7B49;&#x51E0;&#x79CD;&#x3002;</li>
</ol>
<blockquote>
<p>&#x6CE8;&#x610F;:
1.&#x5982;&#x679C;&#x76F8;&#x9664;&#x7684;&#x4E24;&#x4E2A;&#x6570;&#x90FD;&#x662F;&#x6574;&#x6570;&#x7684;&#x8BDD;&#xFF0C;&#x5219;&#x7ED3;&#x679C;&#x4E5F;&#x4E3A;&#x6574;&#x6570;&#xFF0C;&#x5C0F;&#x6570;&#x90E8;&#x5206;&#x7701;&#x7565;&#xFF0C;&#x5982;8/3 = 2&#xFF1B;&#x800C;&#x4E24;&#x6570;&#x4E2D;&#x6709;&#x4E00;&#x4E2A;&#x4E3A;&#x5C0F;&#x6570;&#xFF0C;&#x7ED3;&#x679C;&#x5219;&#x4E3A;&#x5C0F;&#x6570;.<br>2.&#x53D6;&#x4F59;&#x8FD0;&#x7B97;&#x53EA;&#x9002;&#x5408;&#x7528;&#x4E24;&#x4E2A;&#x6574;&#x6570;&#x8FDB;&#x884C;&#x53D6;&#x4F59;&#x8FD0;&#x7B97;&#xFF0C;&#x5982;&#xFF1A;10%3 = 1&#xFF1B;&#x800C;10.0%3&#x5219;&#x662F;&#x9519;&#x8BEF;&#x7684;&#xFF1B;&#x8FD0;&#x7B97;&#x540E;&#x7684;&#x7B26;&#x53F7;&#x53D6;&#x51B3;&#x4E8E;&#x88AB;&#x6A21;&#x6570;&#x7684;&#x7B26;&#x53F7;&#xFF0C;&#x5982;(-10)%3 = -1;&#x800C;10%(-3) = 1&#x3002;   </p>
</blockquote>
<h4 id="&#x81EA;&#x589E;&#x81EA;&#x51CF;&#x8FD0;&#x7B97;&#x7B26;">&#x81EA;&#x589E;&#x81EA;&#x51CF;&#x8FD0;&#x7B97;&#x7B26;</h4>
<table>
<thead>
<tr>
<th>&#x8FD0;&#x7B97;&#x8868;&#x8FBE;&#x5F0F;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x8FD0;&#x7B97;&#x89C4;&#x5219;</th>
</tr>
</thead>
<tbody>
<tr>
<td>++a</td>
<td>a&#x81EA;&#x589E;1&#x540E;&#x518D;&#x53D6;&#x503C;</td>
<td>&#x5148;&#x8FD0;&#x7B97;&#xFF0C;&#x518D;&#x53D6;&#x503C;</td>
</tr>
<tr>
<td>--a</td>
<td>a&#x81EA;&#x51CF;1&#x540E;&#x518D;&#x53D6;&#x503C;</td>
<td>&#x5148;&#x8FD0;&#x7B97;&#xFF0C;&#x518D;&#x53D6;&#x503C;</td>
</tr>
<tr>
<td>a++</td>
<td>a&#x53D6;&#x503C;&#x540E;,a&#x7684;&#x503C;&#x518D;&#x81EA;&#x589E;1</td>
<td>&#x5148;&#x53D6;&#x503C;&#xFF0C;&#x518D;&#x8FD0;&#x7B97;</td>
</tr>
<tr>
<td>a--</td>
<td>a&#x53D6;&#x503C;&#x540E;&#xFF0C;a&#x7684;&#x503C;&#x518D;&#x81EA;&#x51CF;1</td>
<td>&#x5148;&#x53D6;&#x503C;&#xFF0C;&#x518D;&#x8FD0;&#x7B97;</td>
</tr>
</tbody>
</table>
<h4 id="&#x7B80;&#x5355;&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#x7B26;&#x548C;&#x590D;&#x5408;&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#x7B26;&#x5728;&#x7B80;&#x5355;&#x8D4B;&#x503C;&#x7B26;&#x4E4B;&#x524D;&#x52A0;&#x4E0A;&#x5176;&#x5B83;&#x8FD0;&#x7B97;&#x7B26;&#x6784;&#x6210;&#x590D;&#x5408;&#x8FD0;&#x7B97;&#x7B26;&#x4E2D;&#x8FD0;&#x7B97;&#x7B26;&#x548C;&#x7B49;&#x53F7;&#x4E4B;&#x95F4;&#x662F;&#x4E0D;&#x5B58;&#x5728;&#x7A7A;&#x683C;&#x7684;">&#x7B80;&#x5355;&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#x7B26;&#x548C;&#x590D;&#x5408;&#x8D4B;&#x503C;&#x8FD0;&#x7B97;&#x7B26;(&#x5728;&#x7B80;&#x5355;&#x8D4B;&#x503C;&#x7B26;&#x201C;=&#x201D;&#x4E4B;&#x524D;&#x52A0;&#x4E0A;&#x5176;&#x5B83;&#x8FD0;&#x7B97;&#x7B26;&#x6784;&#x6210;,&#x590D;&#x5408;&#x8FD0;&#x7B97;&#x7B26;&#x4E2D;&#x8FD0;&#x7B97;&#x7B26;&#x548C;&#x7B49;&#x53F7;&#x4E4B;&#x95F4;&#x662F;&#x4E0D;&#x5B58;&#x5728;&#x7A7A;&#x683C;&#x7684;)</h4>
<h4 id="&#x5173;&#x7CFB;&#x8FD0;&#x7B97;&#x7B26;">&#x5173;&#x7CFB;&#x8FD0;&#x7B97;&#x7B26;</h4>
<table>
<thead>
<tr>
<th>&#x7B26;&#x53F7;</th>
<th>&#x610F;&#x4E49;</th>
<th>&#x4E3E;&#x4F8B;</th>
<th>&#x7ED3;&#x679C;</th>
</tr>
</thead>
<tbody>
<tr>
<td>&gt;</td>
<td>&#x5927;&#x4E8E;</td>
<td>10&gt;5</td>
<td>1 (&#x7ED3;&#x679C;&#x4E3A;&#x771F;)</td>
</tr>
<tr>
<td>&gt;=</td>
<td>&#x5927;&#x4E8E;&#x7B49;&#x4E8E;</td>
<td>10&gt;=5</td>
<td>1</td>
</tr>
<tr>
<td>&lt;</td>
<td>&#x5C0F;&#x4E8E;</td>
<td>10&lt;5</td>
<td>0</td>
</tr>
<tr>
<td>&lt;=</td>
<td>&#x5C0F;&#x4E8E;&#x7B49;&#x4E8E;</td>
<td>10&lt;=5</td>
<td>0(&#x7ED3;&#x679C;&#x4E3A;&#x5047;)</td>
</tr>
<tr>
<td>==</td>
<td>&#x7B49;&#x4E8E;</td>
<td>10==5</td>
<td>0</td>
</tr>
<tr>
<td>!=</td>
<td>&#x4E0D;&#x7B49;&#x4E8E;</td>
<td>10!=5</td>
<td>1</td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD0;&#x7B97;&#x7B26;&#x4F18;&#x5148;&#x7EA7;">&#x8FD0;&#x7B97;&#x7B26;&#x4F18;&#x5148;&#x7EA7;</h4>
<p><img src="priorityLevel.png" alt=""> 
&#x4F18;&#x5148;&#x7EA7;&#x522B;&#x4E3A;1&#x7684;&#x4F18;&#x5148;&#x7EA7;&#x6700;&#x9AD8;&#xFF0C;&#x4F18;&#x5148;&#x7EA7;&#x522B;&#x4E3A;10&#x7684;&#x4F18;&#x5148;&#x7EA7;&#x522B;&#x6700;&#x4F4E;&#x3002;    </p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../c/DataType.html" class="navigation navigation-prev " aria-label="Previous page: 数据类型"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../c/array.html" class="navigation navigation-next " aria-label="Next page: 数组"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
